#import "~/graphql_shared/fragments/page_info.fragment.graphql"
#import "~/work_items/graphql/award_emoji.fragment.graphql"

query workItemAwardEmojis($fullPath: ID!, $iid: String, $after: String, $pageSize: Int) {
  workspace: project(fullPath: $fullPath) {
    id
    workItems(iid: $iid) {
      nodes {
        id
        iid
        widgets {
          ... on WorkItemWidgetAwardEmoji {
            type
            awardEmoji(first: $pageSize, after: $after) {
              pageInfo {
                ...PageInfo
              }
              nodes {
                ...AwardEmojiFragment
              }
            }
          }
        }
      }
    }
  }
}
